/**
 * 
 */
package com.ychs.corejava.lesson4;

/**
 * 面试题
 * @author LENOVO
 * @version 1.0
 */
public class Test1 {
	public int harf(int x) {
		int y = x / 2; 
		System.out.println("harf---- x = "+x);
		System.out.println("harf---- y = "+y);
		return y;
	}
	public static void main(String[] args) {
		Test1 test1 = new Test1();
		int salary = 100;
		System.out.println("salsry----"+ salary);
		int m = test1.harf(salary);
		System.out.println("salsry----"+ salary);
	}
}
